package cn.edu.njust.epms.entity;

import java.util.ArrayList;
import java.util.List;

public class User {
    Integer uId;
    String uName;
    String uPw;
    Integer uSts;
//    HRRecord hr;
//    ATRecord at;
    List<UserDetails> ud;

    String salt;

    String pwd2;

    public String getPwd2() {
        return pwd2;
    }

    public void setPwd2(String pwd2) {
        this.pwd2 = pwd2;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public void setUd(List<UserDetails> ud) {
        this.ud = ud;
    }


    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                ", uPw='" + uPw + '\'' +
                ", uSts=" + uSts +
                ", ud=" + ud +
                ", salt='" + salt + '\'' +
                ", pwd2='" + pwd2 + '\'' +
                '}';
    }

    public List<UserDetails> getUd() {
        return ud;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Integer getuSts() {
        return uSts;
    }

    public void setuSts(Integer uSts) {
        this.uSts = uSts;
    }

    public String getuPw() {
        return uPw;
    }

    public void setuPw(String uPw) {
        this.uPw = uPw;
    }

}
